<?php
    /**
    * An exception thrown if class not loaded correctly
    *
    * thrown when a class is attempted to load but has a problem
    *
    * @version $Revision: 42 $ $Date: 2012-04-01 21:18:18 +0100 (Sun, 01 Apr 2012) $
    *
    * @author $Author: garry.willits@gmail.com $
    * @abstract base class of plugins. All MKM Moodle plugins should extend this class
    * @package Control
    * @copyright Copyright (c) 2010, MyKnowledgeMap  
    * @see http://www.MyKnowledgemap.com
    */    	
 
     /**
    * An exception thrown if class not loaded correctly
    *
    * thrown when a class is attempted to load but has a problem
     * 
     * Class: LoadException
     * 
     * @package Control
     * @subpackage enter sub
     */
class LoadException extends Exception { 
    public function __toString()
    {
        return get_class($this) . " in {$this->file}({$this->line})".PHP_EOL
                                ."'{$this->message}'".PHP_EOL
                                . "{$this->getTraceAsString()}";
    }
}
?>